System.Collections.IDictionary.Contains Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if this dictionary contains a key equal to key. The dictionary is not changed. Calls the (overridden) ContainsKey method. If key is not of the correct TKey for the dictionary, false is returned.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
private bool IDictionary.Contains(
	Object key
)
Visual Basic (Declaration)
Private Function System.Collections.IDictionary.Contains ( _
	key As Object _
) As Boolean Implements IDictionary.Contains
Visual C++
private:
virtual bool System.Collections.IDictionary.Contains (
	Object^ key
) sealed = IDictionary::Contains

Parameters

key
Object
The key to search for.

Return Value

True if the dictionary contains key. False if the dictionary does not contain key.

See Also